package com.three.crm.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class VisitBean implements Parcelable {

    private int id;
    private int company_id;
    private int type;
    private int user_id;
    private String note;
    private String ctime;
    private String title;
    private String address;
    private String phone;
    private String[] imgs_arr;
    private String images;
    private String bangdan_images;
    private String goods_name;
    private String goods_num;
    private String goods_unit;
    private String goods_weight;
    private String goods_shape;
    private String video_url;
    private String price;
    private String money;
    private int is_deal;
    private String feekback;
    private String car_info;
    private String car_driver;
    private String car_time;
    private int visit_times;

    public VisitBean() {
    }

    public VisitBean(int id, int company_id, int type, int user_id, String note, String ctime, String title, String address, String phone, String[] imgs_arr, String images, String bangdan_images, String goods_name, String goods_num, String goods_unit, String goods_weight, String goods_shape, String video_url, String price, String money, int is_deal, String feekback, String car_info, String car_driver, String car_time, int visit_times) {
        this.id = id;
        this.company_id = company_id;
        this.type = type;
        this.user_id = user_id;
        this.note = note;
        this.ctime = ctime;
        this.title = title;
        this.address = address;
        this.phone = phone;
        this.imgs_arr = imgs_arr;
        this.images = images;
        this.bangdan_images = bangdan_images;
        this.goods_name = goods_name;
        this.goods_num = goods_num;
        this.goods_unit = goods_unit;
        this.goods_weight = goods_weight;
        this.goods_shape = goods_shape;
        this.video_url = video_url;
        this.price = price;
        this.money = money;
        this.is_deal = is_deal;
        this.feekback = feekback;
        this.car_info = car_info;
        this.car_driver = car_driver;
        this.car_time = car_time;
        this.visit_times = visit_times;
    }

    protected VisitBean(Parcel in) {
        id = in.readInt();
        company_id = in.readInt();
        type = in.readInt();
        user_id = in.readInt();
        note = in.readString();
        ctime = in.readString();
        title = in.readString();
        address = in.readString();
        phone = in.readString();
        imgs_arr = in.createStringArray();
        images = in.readString();
        bangdan_images = in.readString();
        goods_name = in.readString();
        goods_num = in.readString();
        goods_unit = in.readString();
        goods_weight = in.readString();
        goods_shape = in.readString();
        video_url = in.readString();
        price = in.readString();
        money = in.readString();
        is_deal = in.readInt();
        feekback = in.readString();
        car_info = in.readString();
        car_driver = in.readString();
        car_time = in.readString();
        visit_times = in.readInt();
    }

    public static final Creator<VisitBean> CREATOR = new Creator<VisitBean>() {
        @Override
        public VisitBean createFromParcel(Parcel in) {
            return new VisitBean(in);
        }

        @Override
        public VisitBean[] newArray(int size) {
            return new VisitBean[size];
        }
    };

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCompany_id() {
        return company_id;
    }

    public void setCompany_id(int company_id) {
        this.company_id = company_id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String[] getImgs_arr() {
        return imgs_arr;
    }

    public void setImgs_arr(String[] imgs_arr) {
        this.imgs_arr = imgs_arr;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getBangdan_images() {
        return bangdan_images;
    }

    public void setBangdan_images(String bangdan_images) {
        this.bangdan_images = bangdan_images;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_num() {
        return goods_num;
    }

    public void setGoods_num(String goods_num) {
        this.goods_num = goods_num;
    }

    public String getGoods_unit() {
        return goods_unit;
    }

    public void setGoods_unit(String goods_unit) {
        this.goods_unit = goods_unit;
    }

    public String getGoods_weight() {
        return goods_weight;
    }

    public void setGoods_weight(String goods_weight) {
        this.goods_weight = goods_weight;
    }

    public String getGoods_shape() {
        return goods_shape;
    }

    public void setGoods_shape(String goods_shape) {
        this.goods_shape = goods_shape;
    }

    public String getVideo_url() {
        return video_url;
    }

    public void setVideo_url(String video_url) {
        this.video_url = video_url;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public int getIs_deal() {
        return is_deal;
    }

    public void setIs_deal(int is_deal) {
        this.is_deal = is_deal;
    }

    public String getFeekback() {
        return feekback;
    }

    public void setFeekback(String feekback) {
        this.feekback = feekback;
    }

    public String getCar_info() {
        return car_info;
    }

    public void setCar_info(String car_info) {
        this.car_info = car_info;
    }

    public String getCar_driver() {
        return car_driver;
    }

    public void setCar_driver(String car_driver) {
        this.car_driver = car_driver;
    }

    public String getCar_time() {
        return car_time;
    }

    public void setCar_time(String car_time) {
        this.car_time = car_time;
    }

    public int getVisit_times() {
        return visit_times;
    }

    public void setVisit_times(int visit_times) {
        this.visit_times = visit_times;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(id);
        dest.writeInt(company_id);
        dest.writeInt(type);
        dest.writeInt(user_id);
        dest.writeString(note);
        dest.writeString(ctime);
        dest.writeString(title);
        dest.writeString(address);
        dest.writeString(phone);
        dest.writeStringArray(imgs_arr);
        dest.writeString(images);
        dest.writeString(bangdan_images);
        dest.writeString(goods_name);
        dest.writeString(goods_num);
        dest.writeString(goods_unit);
        dest.writeString(goods_weight);
        dest.writeString(goods_shape);
        dest.writeString(video_url);
        dest.writeString(price);
        dest.writeString(money);
        dest.writeInt(is_deal);
        dest.writeString(feekback);
        dest.writeString(car_info);
        dest.writeString(car_driver);
        dest.writeString(car_time);
        dest.writeInt(visit_times);
    }
}
